/**
 * 
 */
package com.alstudio.utils.formater;

import java.util.ArrayList;

import android.content.Context;

import com.loovee.imaohu.R;

/**
 * 格式化体重，获取体重数组
 * 
 * @author alonso lee
 * 
 */
public class ALWeightFormater {

	/**
	 * 获取体重列表
	 * 
	 * @param context
	 * @return
	 */
	public static String[] getWeightList(Context context) {

		ArrayList<String> list = new ArrayList<String>();

		list.add("<40");

		for (int i = 40; i <= 150; i++) {
			list.add(i + "");
		}

		list.add("<150");
		list.add(context.getString(R.string.TxtSecret));

		String[] strs = new String[list.size()];

		for (int i = 0; i < list.size(); i++) {
			strs[i] = list.get(i);
		}

		return strs;
	}
}
